package it.stasbranger.myproject.dao;

import it.stasbranger.myproject.domain.SuppliersHasRequests;

import java.util.Date;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage SuppliersHasRequests entities.
 * 
 */
public interface SuppliersHasRequestsDAO extends JpaDao<SuppliersHasRequests> {

	/**
	 * JPQL Query - findSuppliersHasRequestsBySenddate
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsBySenddate(java.util.Date senddate) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsBySenddate
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsBySenddate(Date senddate, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByPrimaryKey
	 *
	 */
	public SuppliersHasRequests findSuppliersHasRequestsByPrimaryKey(Integer suppliersIdsuppliers, Integer requestsIdrequests) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByPrimaryKey
	 *
	 */
	public SuppliersHasRequests findSuppliersHasRequestsByPrimaryKey(Integer suppliersIdsuppliers, Integer requestsIdrequests, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsBySuppliersIdsuppliers
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsBySuppliersIdsuppliers(Integer suppliersIdsuppliers_1) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsBySuppliersIdsuppliers
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsBySuppliersIdsuppliers(Integer suppliersIdsuppliers_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByRequestsIdrequests
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsByRequestsIdrequests(Integer requestsIdrequests_1) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByRequestsIdrequests
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsByRequestsIdrequests(Integer requestsIdrequests_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByPrice
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsByPrice(Integer price) throws DataAccessException;

	/**
	 * JPQL Query - findSuppliersHasRequestsByPrice
	 *
	 */
	public Set<SuppliersHasRequests> findSuppliersHasRequestsByPrice(Integer price, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllSuppliersHasRequestss
	 *
	 */
	public Set<SuppliersHasRequests> findAllSuppliersHasRequestss() throws DataAccessException;

	/**
	 * JPQL Query - findAllSuppliersHasRequestss
	 *
	 */
	public Set<SuppliersHasRequests> findAllSuppliersHasRequestss(int startResult, int maxRows) throws DataAccessException;

}